public class Student{
    //实例成员变量
    private String name;
    private String gender;
    private int age;
    private double score;
    private static String classRoom ;
    public Student() {
        System.out.println("I am Student init()!");
    }
    //实例代码块
    {
        this.name = "bit";
        this.age = 12;
        System.out.println("I am instance init()!");
    }
    //静态代码块
    static {
        classRoom = "404";
        System.out.println("classRoom " + classRoom);
    }

    public void show(){
        System.out.println("name: "+name+" age: "+age);
    }
}
